package com.kevin.eshopcache.entity;

import com.alibaba.fastjson.JSON;

import javax.persistence.Id;

/**
 * @author: e20160504
 * @date: 2018/11/9
 * @desc
 */


public class ShopInfo {

    @Id
    private Integer id;
    private String name;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
